import './assets/reset.css'

import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import store from './stores'
// import piniaPersist from 'pinia-plugin-persistedstate'
// const pinia = createPinia()
// pinia.use(piniaPersist)

// createApp(App).use(pinia).mount('#app')
import locale from 'element-plus/lib/locale/lang/zh-cn' //中文
import ElementPlus from 'element-plus'
//在app中引用

const app = createApp(App)

app.use(ElementPlus,{locale})

app.use(store)
app.use(router)

app.mount('#app')
